diff options
Diffstat (limited to 'src/routes/invoice/[amount].js')
| -rw-r--r-- | src/routes/invoice/[amount].js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/invoice/[amount].js b/src/routes/invoice/[amount].js index f75a1672..f9b31211 100644 --- a/src/routes/invoice/[amount].js +++ b/src/routes/invoice/[amount].js @@ -4,10 +4,10 @@ const username = 'bob', network = 'lightning'; export async function GET({ params }) { - let { amount } = params; - console.log("AMT", amount); + let { amount } = params; + console.log('AMT', amount); let { text } = await post('/lightning/invoice', { amount }); - console.log("TXT", text); + console.log('TXT', text); await post('/invoice', { invoice: { text, network }, user: { username } }); return { body: { amount, text } }; |
